{% extends 'home/base.html' %}
{% block content %}
    <div class="container shadow-sm alert">
        <h3>{{ title }}</h3>
        <hr>
        <form action="#" method="post">
            <div class="form-group">
                <label for="old_pwd">原始密码</label>
                <input name="mem_password_old" type="text" id="old_pwd" class="form-control" placeholder="请输入原始密码">
                <small class="form-text text-danger">{{ error_password_old }}</small>
            </div>
            <div class="form-group">
               <label for="new_pwd">新密码</label>
                <input name="mem_password" type="text" id="new_pwd" class="form-control" placeholder="请输入新密码">
               <small class="form-text text-danger">{{ error_password }}</small>
            </div>
            <div class="form-group">
               <label for="new_pwd_confirm">确认密码</label>
                <input name="mem_password_confirm"  type="text" id="new_pwd_confirm" class="form-control" placeholder="请确认新密码">
                <small class="form-text text-danger">{{ error_password_confirm }}</small>
            </div>
            <div class="form-group">
                <button class="btn btn-outline-primary">确认提交</button>
                <small class="form-text text-success">{{ success_text }}</small>
            </div>
        </form>
    </div>
{% endblock %}